//
//  YCRefreshFooter.m
//  YCSchool
//
//  Created by Yanglixia on 16/5/1.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//  上拉刷新控件

#import "YCRefreshFooter.h"

@implementation YCRefreshFooter

- (void)prepare
{
    [super prepare];
    
    self.automaticallyChangeAlpha = YES;// 自动改变透明度
    self.stateLabel.textColor = [UIColor darkGrayColor];//文字颜色
    [self setTitle:@"上拉可以加载更多" forState:MJRefreshStateIdle];
    [self setTitle:@"松开立即加载更多" forState:MJRefreshStatePulling];
    [self setTitle:@"拼命加载数据中..." forState:MJRefreshStateRefreshing];
}

@end
